package com.guoguo.sincemusic.ui.login

import android.content.Intent
import com.guoguo.sincemusic.ui.MainActivity
import com.guoguo.sincemusic.databinding.ActivityLoginBinding
import com.guoguo.sincemusic.ui.common.BaseActivity
import com.guoguo.sincemusic.utils.Tools

class LoginActivity : BaseActivity() {
    private lateinit var binding: ActivityLoginBinding
    override fun initBinding() {
        super.initBinding()
        binding = ActivityLoginBinding.inflate(layoutInflater)
        setContentView(binding.root)
    }

    override fun initListener() {
        super.initListener()
        val intent = Intent(this, MainActivity::class.java)
        binding.login.setOnClickListener {
            startActivity(intent)
        }
    }

    override fun initBar() {
        super.initBar()
        Tools.setSystemBarColor(this, android.R.color.white)
        Tools.setSystemBarLight(this)
    }
}